Added a flag to toggle the build of the examples (see issue #23)

This pull request addresses issue #23. The examples will now only be builded if the  'example' flag is passed to cabal, e.g

`cabal-dev install -f examples`