Prolog operator: moved creation/retrival ...

: moved creation/retrival of prolog context into helper function
Merge branch 'prolog1' of https://github.com/opennars/opennars into prolog1