Connect Api to display data from Tuxedio-Api

Create a simple factory to pull in data through the rails api. This is currently being displayed on an admin page. Tests written as example on how to test API calls using jasmine spys.
moving the spyOn function into the beforeEach block.