Merge pull request #13 from avnik/master

Add configuration for master host/port
fix travis
will fix travis for real!
Move code working witgh api to own module
Remove basic auth support
Refactor ssh commandline building to more convinient way
Use "builtin" --version handling from optparse
Allow upload debs with "unstable" in release field to staging
Exclude tests from package
Update changelog