Validate container names on creation. Fixes #3138

This adds a check in the runtime when creating a container to make sure the name only contains alpha-numeric characters and underscore. Fixes #3138.