Calculate process energy and persist both process energy and device
energy to DB
Remove space between table name and column name in query string
Merge pull request #1 from miguelaferreira/master

Calculate and persist process energy consumption