Fixed issue with extend function of Base model and view that modified the prototype chain of the parent (base), hence, no two children were allowed to use same name methods. This is fixed now. Added a new test to check this issue. Also, added queries for trolley updates (by year, month and/or day).