added reverse-mode code
added tests, examples and renamed entry function
forgot tests
fixed bug in testing functions, changed var alloc in gradient expression
Merge pull request #6 from scidom/devel

added reverse-mode code