Fix and update .gitignore

- Add missing slash at the start of the path
- Add missing examples/tests executable files
- Add windows shared libraries

Change-Id: I0139a17f721bcdc81b888dbe1201e02b66b5c782
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>