Added tests for Pin Model
Pins controller now uses new Pin Model methods
Bump mocha to 1.13.x
Merge branch 'PinsTests' into develop