builder: Fix #748 success output message classes

Classes applied to messages on the module builder output page were not
working.
- Added bootstrap classes for alert boxes.
- Slightly modified error handling in the view, though this view
shouldn't be displayed if there are errors