Fixed the non-parser errors that Dale found

Reported errors and checked for them when an inheritance loop was
found.
Refactored a few method name.
Fixed the inherited shadowing problem.
Added another error reporting method.
Created the BreakStmtVisitor
Added the breakStmt visiting into the analyze method.
Fixed a few of the class header comments that had just been pasted in.