Model#to_json and Spree.advance_current_order

- Models can now be converted to their JSON representation.
- Functionality to advance an order's state.