Add validation rule preventing operator shelves from beign associated with categories in API (bug 923231)

r? @diox @robhudson