Add .cabal file to build ModuleInspector and CabalInspector

A start to build the bundled tools with Cabal instead of building the binaries standalone.
Code to actually build the cabal file will need to be added as well.
Also conditional code for each haddock version.

This will solve and simplify debugging of a number of issues: #49, #32, #31
Related bug: #40