Color-coding of society markers

Code for generating the color look-up table is in directives.js with
the map.
Need to extract it to use on the listing.

See #85
Moved color mapping into a service
Refactor common result handling functionality
Helper functions to get societies/ids
Assign colors to society results
Merge pull request #92 from NESCent/colorcode-markers

Add color coding to societies