Changed QLContext chaining to be copy-based

This should allow us to add more to QLContext without making the
signature horribly fragile.