Allows REST API response to be ordered

`Orders` and `Invoices` are now ordered reverse chronologically by default.

Those classes with `ordering_fields` specified can be ordered by these fields:
e.g. `/api/users/?ordering=-date_joined` will return users ordered reverse chronologically.