testrunner,bugs: bugs are cached in db

Bug fields are cached in database in order to improve UI performance.
The fields will be updated in a cron job (not implemented yet).

Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Merge branch 'master' of https://github.com/mwasilew/testmanager