Changes calculation for property ownership effect (now only affects result if property takes savings over max)

Also refactors javascript so that all functions are within calculator name space.

Adds tests to jasmine spec for all functions
Corrects behaviour of calculator if property present.

Was showing property dialogue when total saving below max.
Updates calculator output