Unix support, code cleanup

Added a check for windows or unix to deal with slash direction
Cleaned up config file processing
Removed trailing whitespaces from source.py
Added gitignore file
Added links to sources section

Added links to papers in the references section.
Merge pull request #11 from rzlee/master

Minor code cleanup