Fixed up the mono story

Project now builds nicely in MonoDevelop and Xamarin Studio, also passes
unit tests on Mono 3.0.6 (had to rewrite the test apns server as it was
not working well on mono)