Posting Question and Solution in NetworkService.java

Implemented postQuestion and postSolution in NetworkService.java. Added URLs in NetworkConstants.java and changed the class to an interface.

(Not sure what the second commit is. It popped up after I pull the changes from origin.)