Bug Fix

Fixed a bug which cause sometime the object message type can't be resolved.
This fix is just move the "type = MsgsFile.resolver[type]" to the outside of "if (!isArray)"
Merge branch 'patch-2' of github.com:mikefoxnobel/ROS.NET
rosmaster: fix rosout and initialization