Changed flags option in branches method to lowercase

* R/branch.r (branches): Changed ALL, LOCAL or REMOTE flags option to
  all, local or remote