Add a unit test for the properties model and fix a bug in the defense calculation.
Add error analysis functionality.
Authored by: azarchs 2015-09-03
Parent: [r9]
Child: [r11]