bugfix: explicitly decode byte-string responses from json requests via UTF-8 to string

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
bugfix: put print statement into parenthesis (python3)

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
bugfix: explicitly encode strings to UTF-8 before hashing them (python3)

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
Merge pull request #29 from TelekomCloud/python3-fixes

Python3 fixes
add python 3.3 tests to travis

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
Add package version history tracking (WIP)

Track the install time of each package per node to enable reports
based on the historic data. This will enable ponyexpress to generate
reports like listing outdated packages.

This branch is still work in progress.

Signed-off-by: Christoph Kassen <c.kassen@telekom.de>
WIP - Package and Mirror history tracking

Still work in progress.
Add tracking of packages on apt repo servers/mirrors.
- Store every package version present on the mirror at time of check
- Compare tracked packages with mirror to find outdated versions

Signed-off-by: Christoph Kassen <c.kassen@telekom.de>
WIP - API work for outdated packages

Pushing this upstream so we can rebase other branches on top of it
and continue to work in it in parallel.

Changes include:
- updates to the module import handling
- bugfixes to make the packages list api returning data again
- unit test updates
- a simple command to prepopulate the database for testing purposes

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