Add parameters, document and components to path listeners

getPath was able to receive components in its path but path change listeners weren't.
This adds parameters, document and components as optional parameters of *PathChangeListener functions.