Add proper virtual destructor to FlagBase.
Weyland will now compile and run the build file.

Also add exception handling, and assertions to main and the
commandline parser.

This should resolve surtrstudios/weyland#4