resource_delete does not work

`resource_delete` was broken with this commit https://github.com/okfn/ckan/commit/c972c1c02778d484cb22158a0980bf52564a8327.  pkg_dict['resources'] is a `list`, not a `dict`, so line 76 will never return `True`.

Accidentally ran into this when testing filestore modifications. **Update**: Seems to affect only master.

 ![Programming](http://i.imgur.com/Fy75IvC.gif)