Set Type via setType, Thow exeption if host is missing and be nice on trailing slashes.

Thanks @sebastianheise for reporting this issues.

commit 8e5f972f028ea412d7094eca4c7022d2cd29cb2e
Author: Kris <kris@opentabs.de>
Date:   Thu Oct 31 04:27:18 2013 +0100

    Throw a exception if host not set

commit b22f5be04e624fa988474c67edc18181f2bbc60b
Author: Kris <kris@opentabs.de>
Date:   Wed Oct 30 13:57:14 2013 +0100

    Fix a problem with trailing slashes in the host-parameter, add functions

    _ remove trailing slashes in host parameter
    _Add setType function to set the etype
    _fix version number to the next release