Hasktags as a library

As discussed @MarcWeber, I have extracted the generate method and reshaped teh build file.

Feel free to discard the version bump.

Looks OK?