modilabs/mopup-seed — pull request #21 by myf (2013-04-27 09:49:31+00:00)
Title: Match

in match branch i implemented the data structure for matching
* there are no extra paired list, the lga and nmis list will be updated once match is in place
* there are front end matching logic that functions the same as back end matching, as promises for the back end
* async style with promise objects,
* since two collections need to be written before success, i have implemented nested promise objects and only return success back to front end after they are both suceeded