Run on failure flag

This is for #341. It solves the problem of calling one keyword (as a class method) from another keyword.