Use a helper method in go_account_stats.
Better mechanism for checking validity of replies in http_api.
Clean up some leftover hackery in http_api.
Merge branch 'feature/issue-592-clean-up-message-store-sillies' into develop