create a REST API to access Rock tasks

Aded by rack-cors gem, pull reqest pending