Initialise local pointers in history.Get handler - Issue#103

In Release version the the local pointers happen to not being initialised
to NULL at all, if the input document is malformed and contains no href
at all, the history.Get handler segfaults when it tries to free a wild
pointer