build: fix failing ant build since 45360cc

https://github.com/perlundq/yajsync/issues/2
ant build fails due to the unit tests added in 45360cc..
- move non test code from src to src/main
- add test target in ant buildfile build.xml