repository: fix fs usage
creates testing package and gandalf test server

closes #92
testing/server_test: closing test server at end of function
user/user.go: logging debug and errors on New function

Relates to #18.
bin/gandalf: fixing regex to accept slash before repository name
bin/gandalf: also accepting slash on command validation
installing go vet on check-fmt.
bin/gandalf.formatCommand: removing left slash when it's there
api/,repisotory/: renamed GitURL and SshURL to ReadOnlyURL and ReadWriteURL respectively
repository: supporting git urls with ssh protocol
repository: supporting ssh port when using ssh in git urls

Also refactoring ssh config
api: ping the database before assuming that everything is ok
Godeps: add Godeps.json
webserver/main: fix version

My bad :(
Api: new resource to add hooks
api: change payload format from json to simple text
api: setup bare template dir for tests
hook: use fs write to improve testability
Merge pull request #99 from bardusco/master

Fixes #98
webserver: bump to 0.3.0