Add state flag instead of closed
Add sort flag so we can sort by created, updated, and popularity
Merge pull request #75 from crosbymichael/change-state