Added checking for additional illegal characters when setting version and release (Issue #18)

Refers to Issue #18