Allow non-numeric branchId

Branch Ids are the name of the branch, which is typically not an id.
Change the parseInt function to be encodeURI.
Allow non-numeric branchId

Changed parseInt for encodeURI when receiving branchId. This allows the usual free text of a branch name.
Merge pull request #19 from aheber/master

Allow non-numeric branchId