Merge pull request #37 from intenso/master

Improved debian packaging
[bithorded/server/server]Change socket-permission-code to use plain POSIX since older boost::fs doesn't have permissions-manipulation.
Add basic Protocol-test, and fix a bug where a node with a cache and no upstreams never responds to binds.
[bithorded/server/client]Avoid sending queries back to a client that just issued the same query.
[lib/asset.h]Don't use shared_from_this2 explicitly. Use shared_from_this.
[lib/client]Don't do direct smart_ptr to bool conversion.
[bithorded/main]Explicitly include hierarchy.
Drop use of 'uint' in favor of uint32_t.
[lib/types]Move includes from header to implementation.
[bithorded/server]Adapt some client-activity-logging with to suitable severity.
[template.config]Fix typo.
[bhupload]Enable exceptions on errors in input-file.
[bithorded/store]Drop unused MMAP-constant.
Update build dependencies to match current build requirements.
[debian/changelog]Add change log of previous patches.