Fix #592: Add try-catch around port string-to-int conversion.
Move reflection to bottom of file, for consistency
Merge branch 'develop' of github.com:BitShares/bitshares_toolkit into develop