Make DB Import backwards compatible

closes #2716
- Continues to parse and allow import with the old format
- Detects the presence of the new JSON-API format and allows import
Merge pull request #2719 from appleYaks/import-backward-compatible

Make DB Import backwards compatible
updateTags refactor

closes #2720
-refactor Models.Posts.updateTags method to reduce complexity