Improve options in file history on revision
Add function to get branches
Add branch dropdown
moved time_ago_in_words to client side