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