Add es package

Looking for some feedback on this approach to talking to ES.
What about changing this to something like:
func (db *Database) url(path string) string
so that it can be reused also in other parts of the code (e.g. db.Get)?