Two minor build fixes.

- Fix install-dev when _SRCDIR_ is set
- Don't require root to install systemd units
Fix the check for .git and .bzr in doc/Makefile
Make travis build a whole .deb package for ubuntu precise

This should catch most build process errors.