unit tests fixes
unitest fixes models
Unitests for the models, fixed
ADDED BASH SCRIPT TO AUTO GENERATE SKELETON TEST CLASSES
Merge branch 'feature/unitest' of github.com:openeyes/OpenEyes into feature/unitest
a part of the new unit tests
Models unit tests fixes
unittests model fixes
Merge branch 'develop' into feature/unitest

Conflicts:
	protected/models/CommonOphthalmicDisorder.php
Merge branch 'develop' into feature/unitest

Conflicts:
	protected/models/CommonOphthalmicDisorder.php
Merge branch 'feature/unitest' of github.com:openeyes/OpenEyes into feature/unitest

Conflicts:
	protected/models/CommonOphthalmicDisorder.php
segund part of model tests + new fixtures + renaming the folder
Removed old DB session code
[OE-3450] fixed shortcode expansion case mismatch bug
Removed unneeded columns from user_session table to help avoid deadlock
problems
[OE-3465] Removed forking hell from parallelised migration
[OE-3439] sped up patient contact search using ->with() method
Merge branch 'master' of github.com:openeyes/OpenEyes
[OE-3471] fixed race condition that caused a crash in the patient controller.
[OE-3154] fixed broken query with no findAll() call