A faster implementation for formatGuid function

Please see merge the changes in this commit to the main repository:
https://github.com/mkononen/node-ldapjs/commit/5edb9f87e7d34fb362a366f0392df0bcbe8dc878

Pattern matching with preconstructed strings is (according to my measurements) about two times faster that using regular expressions.