always delete page cache if in development env
Adding the Lex parser updates from 2.2.2.

2.2.2 is PHP 5.3 only, so we've got to manually make the improvements.
Make sure we have a row in row_m.
Merge pull request #2275 from hdias/feature/sync-page-type-files

sync page type files
Setting a $page variable so plugins can use the current page values.
Merge branch '2.2/develop' of github.com:pyrocms/pyrocms into 2.2/develop
Update DB in Dev mode.

This allows devs to update HTML/CS/JS page type files and have them update without syncing (on development).
Fixes #2234. The front-end file controller was ignoring numeric file ids
on sites upgraded from v2.1.5
Fixes #2197. The default page type cannot be deleted. Search, 404, Contact
all depend on the default page type.
Fixes the "column 'is_hidden' already exists" error in migrations when upgrading.
Anytime a migration modified a table the changes would not be apparent in a
$this->db->field_exists() or similar check that happened on the same request.
Update system/cms/core/Public_Controller.php

Fixes issue where the blog rss is still added to the metadata even though the Blog Module is disabled.
Merge pull request #2281 from Solinx/2.2/develop

Update system/cms/core/Public_Controller.php
This didn't really do anything.. Works just like

exists now.
Fixing padding for admin pagination.

Pagination was previously flush with the bottom of the content container. This gives it a nice padding.
Removing hardcoded pagination configs.

Previously, the Streams API (and consequently anything using streams) had hardcoded default values for pagination. These because outdated, and now they are replaced with the config/pagination.php config values. Much better and cleaner!

Fixes #2257
Adding the ability to pass bool values to Streams API Entries Driver.

Because of legacy constrictions, the row parser works off of 'yes'/'no' for bool values. This allows devs to pass true/false instead.
Refactoring restrict_user.

This had some logic issues that may have affected passing a username to restrict_user.
Adding a set_attribute function to the plugin library.

This is useful when a plugin needs a parameter to be locked in to a certain value.
Adding pagination config variables to Streams entries driver.

This is used when parameters need to look through an array of parameters to see which ones are for pagination (used in the streams plugin).