Refactored ref string parsing
output up to date status on a push if nothing has changed for a ref
Merge pull request #63 from alexsydell/up_to_date2

Output up to date status on a push if nothing has changed for a ref, and refactored ref string parsing