Updated for publishing

Let configure script make dirs that are needed for build
Made tests run all the tests
Merge branch 'master' into working