added state & year checks to metadata api
Merge branch 'master' into dev
Merge pull request #6 from openelections/dev

Tightened up API response and added some sanity checks/error handling for states and years.