Case insensitivity on definition/match terms

* Case-insensitive definition lookup and strategies
* Server socket uses utf-8 encoding
* Use relative path to rafsi file
* Placated some perl warnings