Fix namespace parsing regex to allow both allowed forms

Allow namespace form of "namespace My\Name\Space {" in addition to "namespace My\Name\Space;"