Use Unix line endings
Get it working with JSON REST API

Also get messages working
Also hack in an Import Now button