Added subtype property to RemoteObject

Checked: subtype of Array is array
Checked: subtype of Date is date, type is object
Checked: subtype of RegExp is regexp, type is object
Checked: subtype of null is null
Fixes for overview comments

Simplified.
Code style checked.
Tests: added, changed.
Tested by gjslint and fixed.