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.
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