Add data model and alembic migrations

Add Node and Pacakge data model classes
Use Alembic to migrate/upgrade the db structure
Add configuration classes
	Use sqlite for development purposes

Refactor project structure:
- Database code now in a seperate file
- Models live in ponyexpress.models
- manage.py in the root path for proper module imports
Add relations to the data model

Node has Packages, Packages are installed on Nodes. Add the
appropriate migrations for the data model.

Signed-off-by: Christoph Kassen <c.kassen@telekom.de>
Add data model and alembic migrations

Add Node and Pacakge data model classes
Use Alembic to migrate/upgrade the db structure
Add configuration classes
	Use sqlite for development purposes

Refactor project structure:
- Database code now in a seperate file
- Models live in ponyexpress.models
- manage.py in the root path for proper module imports
Add relations to the data model

Node has Packages, Packages are installed on Nodes. Add the
appropriate migrations for the data model.

Signed-off-by: Christoph Kassen <c.kassen@telekom.de>
Use correct datatype to access json data

Received data is a dict so use the keys from the dict.
Add response after sucessful import

For now just return a 200.
Merge pull request #9 from TelekomCloud/fix/collector-api

Use correct datatype to access json data
Merge branch 'feature/database-models' of github.com:TelekomCloud/pony-express into feature/database-models

* 'feature/database-models' of github.com:TelekomCloud/pony-express:
  Add response after sucessful import
  Use correct datatype to access json data
  Add relations to the data model
  Add data model and alembic migrations

Conflicts:
	ponyexpress/api/v1/collector.py
Refactor for tests

Add tests for collector:
Some refactoring was required to work around some Flask problems.

Test files must be named test_* to be picked up by nose automatically.

Signed-off-by: Christoph Kassen <c.kassen@telekom.de>
Update db models and migrations to comply with tests

Update test cases to include more scenarios. This required changes in the
db models and collector code.

Delete old migrations and start with a single, new migration.

Signed-off-by: Christoph Kassen <c.kassen@telekom.de>
Update testcases and import api

Updated testcases and import API.

Removed old migrations.

Signed-off-by: Christoph Kassen <c.kassen@telekom.de>
Update README

Add instructions how to run the pony-express server and how to
perform db migrations.

Removed dead (commented out) code from tests/__init__.py as well

Signed-off-by: Christoph Kassen <c.kassen@telekom.de>
Merge pull request #10 from TelekomCloud/feature/database-models

Feature/database models