partial refactor of compare; will use same methods to build result object as simsearch
addresses #352 and delivers required functionality for implementing #325
Merge branch 'master' of github.com:monarch-initiative/monarch-app

Conflicts:
	lib/monarch/api.js