Merge pull request #1 from khandelwal/master

This adds in the contributing and terms files
select plans with PURCH purpose only
filter results by final_points and not totalpoints
A working version of the API, some SQL filter changes