fix template and component attribute refresh for long paths - fix #125

closes #127
add long paths support for component element insertion

fixes #124: this commit adds the long paths support for component element insertions (same as for sub-templates and components).

fixes #33: this commit adds a isEmpty property to the default event handler callback to let the controller know if a callback has been set..

closes #128
fix cpt disposal

fixes #129
closes #130