Fixed some strict standards issues

Non-static functions were called statically, this is fixed now.
Preliminary chapters in searc results

This is related to #32.
Fixed broken links in the tag preview of results
Fixes #32

This "naive" layout seems to be okay. It could be possible / interesting to display a list of chapters in the sidebar for easier navigation.