Change: RestApplication constructor

Now the RestApplication takes in three parameters called
`service`, `request_hooks`, and `response_hooks`.

The hook parameters were changed so that their purpose would
be clearer.

The biggest change is that the first argument is no longer a
werkzeug `Map` object. Instead, the constructor expects an
iterable of service objects. These can be objects or dicts and
must expose, at least, a `urls` key/property. These urls are
used to construct the final map object.

The purpose of this change is to support a simplified model
for creating the final WSGI application that will be exposed
to a WSGI server.

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>
Change: Test framework to py.test

This commit moves the tests from the python package out
to the root package. These tests have also been updated
to use py.test.

The purpose for this change is to allow for better testing
through py.test as well as better organization of the
package.

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>
Remove: Command line script

This script has been removed because it no longer is needed.

Originally I intended this script to be a quick-start platform
for building service plugins for the RestApplication. However,
the only way to create useful boilerplate code was to make the
script highly opinionated as to what structure and libs should
be used in the service.

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>
Add: Tox configuration file

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>
Remove: Left-over namespace package logic

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>
Change: Setup.py to reflect recent changes

Signed-off-by: Kevin Conway <kevinjacobconway@gmail.com>