Moved types from header to elli module.

Type specification should not be placed in hrl files. They should be exported from a module. Placing them in hrl files also makes it hard to document them, because edoc will not look at the hrl file. I've moved them to elli.erl.