PSR2 related stuff with some minor bug fixes.

captcha needs to be rewritten from ground up.
mail class needs to be removed and added as a library.

Captcha and phpmailer due for changes so no more PSR2 related work.