siteloader: added code snippets for using actions, etc

Original site loader concept is far from final, it is better to be rewritten using actions,
observers and so, and using that way to collect the dependencies and the necessary TODOs
with the files. They are only added to the code but not yet used