Adding widget resource

- Also modifiying GET /api/v1/widget to return a JSON array instead of an object