Changed Model.Extends function to use more conventional javascript options / extend format, rather than parameter passing
Tests updated appropriately