Add device controller actions: create, index

 - Respond with 200 OK and JSON for valid device details
 - Respond with 400 Bad Request for invalid device details
 - #index - show all devices