Style changes, fix some bugs, raise exceptions

Did some cleanup to better match style conventions, switched out 'quit'
statements in favor of raising 'EBabel' exceptions, used writeln, and
other cleanup.

See
https://github.com/nimrod-code/babel/pull/58