Have Build and Rebuild exit with a status to the shell.
Clean up type declarations, use fst and <$>.
Merge pull request #154 from tunixman/master

Have Build and Rebuild commands exit with status