Added optimization chapter to master manual.

For now it contains a snippet on speeding up properties load from a database if the properties are strings