[ENH] added support for explicitly indicating application name and to
whether log messages locallly or not.

These features have been ported from the master branch. No merge or
rebase were done to avoid conflicts between branches.
added variable to keep track of the buglog client version
Merge branch '1.8' of https://github.com/oarevalo/BugLogHQ into 1.8