Simplify Package data type (#663)

Authored by snowleopard on Aug 28 2018, 8:33 PM.

Description

Simplify Package data type (Trac #663)

I noticed that all packages we build have Cabal files now, which means we no longer need to distinguish between C and Haskell packages. This leads to a lot of simplifications and removal of unsafe functions.