Add test case for using nspace without -package.
TODO: Fix Makefile.in to actually not use -package when invoking swig.
Fix issue of package directory not being created when using jniclasspackage pragma. General cleanup of implementation.