* Fixes#460 - getting SP reg on threaded apps
As the issue described: as we cache registers,
we might get their values wrong as we don't invalidate cache when thread is changed.
This leads to showing wrong context stack values in threaded apps.
This commit/PR adds a new memoization solution: `reset_on_prompt` which resets cache on `gdb.events.before_prompt` event.
* Fix isort