Add build script.

- Checks that file permissions are correct.
- Installs latest version of Composer.
- Runs the test suites.

Signed-off-by: Se7enChat <se7enchat@zoho.com>