Make libsuperuser reusable as a library

It seemed libsuperuser would be more useful as a library than as a standalone source tree that gets copied into a project which requires root. I've made minimal changes to accomplish this; it should now be straightforward to build the library with Maven and publish it to the Sonatype OSS repository if you so desire.