improved bundle name validation

Bundle name should have at least same level of validation as namespace has.