Added build-stamp file to .gitignore.
Updated documentation: Typos and keep track with implementation.
Minor fixes like not quoted variables and other stuff.

Tried to make the coding style more uniform.

Noticed while reading the code.
Looked over layout-functions.sh. Minor improvements.
Why not using ISO 8601 as date format?
Merge pull request #409 from ypid/miscellaneous

Miscellaneous coding style fixes