Fix _design slash encoding bug:

Make a special case for _design/ in encodePathComponent()

Unit tests check push and pull works correctly