Fixes a number of issues with database connection, discussed in team boards

Signed-off-by: margarett <bruno.m.alves@gmail.com>
Hopefully fixes #5
Automatically discovers Sources path so that we don't trigger a  "not found" error for Load.php.

Signed-off-by: margarett <bruno.m.alves@gmail.com>
Improved database checking (in MySQL at least)

Signed-off-by: margarett <bruno.m.alves@gmail.com>
Merge pull request #10 from margarett/master

Fixes a number of issues with database connection, discussed in team boa...