Cosmetic changes

This branch was dedicated to:

1. Adding copyright notices to all script files (.c*,.h*,.py,.r,.m,.sh)
    A uniform copyright header was added to all script files except files under /lib/zlib, /lib/bzip2 
    and /python/argparse.py
2. Removing typos