Setting environment in CLI mode fixed.
Moved cli.php to bin, _loader.php to application. Fixed double including of loader.
Merge pull request #33 from Baziak/master

CLI and files structure changes