Merge pull request #180 from tjanczuk/dev

Assorted bug fixes in `azure mobile`