Added indexes and constraints.
Added tests for constraints. Cleaned up API for index.
Merge pull request #34 from michaelklishin/schema-2.0

Added support for Indexes and Constraints REST API.