Refactored non-phake functionality into lib/System.php
Large refactoring

* Better output of messages (success, error, debug, warning, info)
* Much simpler MySQL tasks (abstracted via doMySQLCommand)
* No more dependency on mysqli module - everything in CLI
* A bit of security introduced
Ouput coloring so good, can cause eye bleeding now
Merge pull request #4 from QoboLtd/cleanup/refactoring

Cleanup and refactoring