Knockout ORM framework with REST service adapter and offline storage