add get metadata function
Merge branch 'master' of https://github.com/tguitar/RetsClient