Add .gitignore file.
Fix apt-get upgrade prompt.
Support non-master branch when cloning.
Support squeeze and wheezy.
Add missing call to kg_set_secret_key
Build from local tree.