add a lock to calls to load_manifest - apparently, it's not thread safe

fixes #103 and RobotWebTools/roslibjs#108