Output definition for resourced changed long->int

The output definition for methods that require fetching results through
rescource fetching chenged from
output: { code: 'xsd:integer', msg: 'xsd:long' } }
to
output: { code: 'xsd:integer', msg: 'xsd:int' } }