Add API server for dashboard app

@titanous 

Dependencies still need adding to the Godeps
```go
if len(info.Token) != len(conf.LoginToken) || subtle.ConstantTimeCompare([]byte(info.Token), []byte(conf.LoginToken)) != 1 {
    rh.Error(ErrInvalidLoginToken)
    return
}
```