Allow purging multiple objects from category index table.
Typehint and check $ids parameter.
Don't try to call a an array :-P
Remove redundant line
Merge pull request #2610 from owncloud/vcategories_purge_multi

Allow purging multiple objects from category index table.