Added content negotiation for json or xml.

Also got project working on mono in xamarin studio.
Adding NLog to handle logging.