Move code to src/, add test project, and psake build scripts.