Fix saving tag parent_id

Summary:
- Add tests for saving tag parent_id
- Fix saving tag parent_id

Test Plan: bin/behat application/tests/features/api.tags.feature

Reviewers: aMoniker, shadowhand

Reviewed By: shadowhand

Differential Revision: https://phabricator.ushahidi.com/D547