Update pg package
Update xml2js package
Refactor code for npm update

Signed-off-by: David Fisher-Moreau <deiform87@gmail.com>
Resolve market item updater

Signed-off-by: David Fisher-Moreau <deiform87@gmail.com>
Fix market unit tests

Signed-off-by: David Fisher-Moreau <deiform87@gmail.com>
Update libraries

Signed-off-by: David Fisher-Moreau <deiform87@gmail.com>