Merge pull request #49 from pkit/tests_fixes

fix #48 now mock correctly handles strange paths
fix unbound variable reference

parse_daemon_config references zerovm_network_type, but it isn't set
yet.  this moves the config load of zerovm_network_type before
parse_daemon_config for less stack dumpage.
Fix opaque descriptor

opaque descriptor (for zbroker, anyway) is
"<broker_name>|<direction><pipe_name>", with direction being either ''
for read, or '>' for write.  update to match this format.
zerocloud: avoid swift dependency for gettext (fixes #50)

Importing Gettext from Swift won't work out of the box. Swift relies
on a $SWIFT_LOCALEDIR environment variable being set in order for it
to find its compiled message catalogs (the .mo files). That variable
generally not set when running ZeroCloud.

Furthermore, we have begun marking our own strings for translation
with the _ function. This means that we need our own message catalog
if there is any hope of them being translated.
zerocloud: don't translate error messages

A server side application should probably not translate its strings
into the language of the server -- we don't know the language needed
by the client. It seems better to just keep the error messages fixed
in English.
Merge pull request #51 from mgeisler/no-swift-gettext

Remove swift gettext dependency
Merge pull request #52 from rpedde/icehouse

Fix unbound variable reference and opaque descriptor format
fix broken test after opaque string fix in #52

just changed regex
Merge pull request #53 from pkit/opaque

fix broken test after opaque string fix in #52
pep8: trailing whitespace
Merge pull request #54 from pkit/opaque

pep8: trailing whitespace
replaced methods with static functions

converted methods to static functions, can be used in other tests