Generalize a helper function, extend the IsValue class
Move some test helpers into the main library

Now, the generic loaders in Dalvik.Apk can also load Java source
files (by running the external 'dx' tool).