Initial setup changes

Sorted out and added 3rdparty components as submodules.
Added setup.sh which runs submodule init and update, minifies CSS and JS files.
Removed executable flag from php files.
Added some support for non-LDAP setup.
Added non-LDAP password support.
Removed APC dependency.
Merge branch 'master' into HEAD