Added mutex around startedTypes
Added mutex around startedTypes

Added a RWMutex around startedTypes when starting services, to ensure that
the theoretically harmless datarace doesn't cause any practical harm.

Fixes #1

rhaamo/lutrainit