Minor improvements in documentation.

- test simpler template specification when using AbstractRecord::factory function template
- fix indenting in CMakeLists.txt