Add astyle functionality to pre-commit hook script

It supersedes checkyear.sh while preserving all of its functionality.
Added astyle functionality is disabled by default and should be enabled
manually.
Merge pull request #52 from alexmarsev/pre_commit

Add astyle function to the supplied pre-commit hook script