Solution for auto loading Ruby classes wrapping nodes, #349

I've tried to make it fast by caching lookup of mappings.
Make sure the checked_label_set is only created once, closes #349
Merge pull request #350 from andreasronge/issue349

Solution for auto loading Ruby classes wrapping nodes, #349