First pass through messages.js.
First pass through messages.js.

Mostly stylistic refactoring. Starting the process of renaming 'properties' to
'fields'.

I'm going to try for another pass tomorrow evening too.

baalexander/rosnodejs,baalexander/rosnodejs