All of the Xposed framework zips I flashed gave me a bootloop. Why is that so?
These steps worked for Nexus 4 running stock and rooted Android 5.1.1:


Download the xposed-v79-sdk22-arm.zip from the official Xposed Framework thread on XDA forum
Install that zip via recovery mode
Clear Dalvik/Cache