Implement new testsuite, reorganize project tree

This commit does two major things:

  * all the library code is now in src/ directory and all
    testing code is in tests/ directory
  * there is a new testsuite based on tasty framework. See
    README.md in tests/directory for details.