Converted to SBT project + new tests

The project has now sbt-compliant structure. To run the application use SBT (version 0.12+):
`run` - runs the application
`test` - runs the tests

The project execution and testing should be now platform-independent.