Change function signature to take an object
Use @remy 's code to create query from object
Extract logic into one function
Update calls to match new function sig
Prefix deleted bins url with 'deleted/'
Apply updates to sqlite
Move into same #map
Update model func sig
Update call to newer function sig
Update filedb function sig so fn is still availible
Remove url from protected values
Change rev to revision
Merge pull request #1211 from jsbin/fix/bin-deletion

Fix/bin deletion