added submission tests closes #35, added submission counters closes #37, fix logic to still call surveyModel.set even if ID already found, to make sure any properties are updated (including the 'active' property)
refactored authentication and account check, added test responses to API closes #29