Lua-Support: Reworking the template library.

- Fixed adjusting of end-of-line comments.
- Reworking the template library (in progress).
- Added a codesnippet.
- Minor changes.
Git-Support: Status buffer in Git version 1.8.5.

- Changed folding for the status buffer for versions after 1.8.5.
- Added folding of tags.