make the current command chain accessible in command

hi there,

for a project I need information about the commands which has been used to invoke the executable. This PR makes the commands accessible within a thor task via `current_command_chain` as a sorted array of symbols.

Would you mind to review the PR and give feedback to the current implementation?

Thank you very much!

Cheers, 
MaxMeyer