Fix null pointer exception in RequirementManager

-Occurred when attempting to create a requirement
-Was due to refactors for tests, and using iterationModel in
this.buildLayout() before it was set.
-Clean up formatting and JavaDoc