Additional model functionallity and error messaging.

Copied the encrypt () and generateSalt () methods to the Base Model.
Obviously they belong there but I don't see why you wouldn't use them
in the Controller.

I also removed var_dumping on error messages, that makes no sense.
A die should suffice.
Version 1.2.2
Merge branch 'master' of https://github.com/bobdesaunois/emmaphp