Merged code from dharmendra-dev to master
- Update .gitignore to ignore .pyc files and tools/pycache/
- Implimented new function in ecg.h file.
- Remove unneccessary constructor and commented line from ecg.cpp file.
- Added gitignore,cppcheck and precomit files.