Fix API TaggingsController and corresponding specs

Pending specs hid some application code errors in this
controller. Unpending the specs revealed these errors
(mostly syntax-related). This commit unpends the specs
and fixes the errors.