Changed CLI to return number of failed.
Added functions into anonymous namespace.
Added std qualifier to string.
Removed define for default file name.
No need for static functions.
Added missing std and removed unnecessary comments.
Corrected unit test usage in CMake.
Merge pull request #56 from murrekatt/develop

Corrected CMake tests and improved opentxs CLI code.