Commit some of the thoughts on tutorial8
Added an advanced refcounting example, fixed this_executable detection on POSIX and minor improvements to the code
Advanced refcounting tutorial finished