Changed the repository API code across the board to handle revision numbers as strings instead of Longs. Also started adding code for handling Git repositories.