Register rewrite rules on activation

Fixes #17. Props @pippinsplugins
Merge pull request #17 from WP-API/rewrite-activation

Register rewrite rules during plugin activation