Big security update; PHP 5.5 strict; refactoring and cleanup. All models are now test based