Phalcon1 module

Fixes and improvements for urls, transactions and cookies.
Config option "application" renamed to "bootstrap".
Minor refactoring and code styling.