Merge pull request #2118 from Guite/1.4

cs fixes
Corrected PHP requirement.
remove unneccessary ini_set() usages to change memory_limit and max_execution_time ebcause they are already set in install.php. refs #980
do not attempt to login if the system is not installed. refs #1908
completed Doctrine migration of workflows classes, minor cs fixes