Heartbeats

 - Create model heartbeat, which belongs to device
 - Modify test config to use a different database which gets cleared after each test
 - Change homepage to index page (as that's the only page available as of now)