Make sure that the Pin object is created
Make PinResource orderable by id

Update JavaScript so it orders pins, Fixes #69