Approximate Inference for Non-parametric Bayesian Hawkes Processes and Beyond