BDI implementation

Implemented:
* Agent sleeping
* Agent run-away
* Gold recovery (provided)
* Potion recovery
* Grave opening
* Run to safety if needed (provided, tweaked)