revert ets
Revert "revert ets"

This reverts commit e0d31ffcc15b41129f0a1e11ee434bf7ad277c75.
Merge branch 'master' into develop
Merge branch 'master' into develop
change erlog_memory for cursor usage
made cursor logic
made db_lib working
fix cutpoint ending
made db_call working with multiple clauses
make r16b03 compatible
fix clauses with body issue
fix permission denied errors
erlog memory refactoring
fix closing cursor issue
fix complex variant selecting, break hand variants selecting
fix clause and empty cursor next
fix retractall & db_retractall & db_call
add spy to debugger
fix mistake with cursor passing
fix ets next