MOTECH-1165: Cleaned up dependency management in modules pom

I also cleaned up IntelliJ warnings in the SMS module.

Change-Id: I39da2950295c04c3180b0748f2adf8decfdd31c8