Add a help message when given unknown parameters.
Gracefully fail when given faulty parameters.
Stop indexing out of bounds on cabal packages without executable sections.
Address review comments.
Merge pull request #8 from pjonsson/ideapi-error-handling

Improve ide-api error handling