Phalcon: Update to fullfil the framework guidelines and minor improvements