Forbid dots in connection names

Just a port of [this commit](https://github.com/propelorm/Propel2/commit/9c0a280bdaf0808098c3560b40dd2590c3297946)