Add command-line option for starting in refs view

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Signed-off-by: Jonas Fonseca <jonas.fonseca@gmail.com>
Fix installation directory permissions

Use `install` instead of `mkdir -p`.