fixed typo
Fix for some pagination variable errors
Merge branch '2.2/develop' of https://github.com/pyrocms/pyrocms into 2.2/develop
Fixing pagination missing from blog.

Not sure where/how this dissapeared.
Additional fix for pagination update.
Adding additional check for blank language

Addresses #2366
Set lang to 'en' if it happens to be blank.

As a last-ditch fallback. Addresses #2366.
refactor db queries in permission model
code cleanup
fixed language strings
Fixing issue with RSS page header
Merge branch '2.2/develop' of git://github.com/pyrocms/pyrocms into 2.2/develop
#2014 Users in a group with Comments permission should get comments by emails + make it a seperate option