Refactor and decouple REST api framework

The recording API endpoints have been moved from the server.py module to a new class called recording.py.
Arguments should be aligned, and it's probably better to used named args for the writeback args.

For example,
```python
config = profile.get_config('freeseer.conf', settings.FreeseerConfig,
                            storage_args=['Global'], read_only=False)
```