Fix the tutorial to make it work with python 32 and 64 bit.
Remove ordereddict warning from tutorial
Fix the detection of cpu vs gpu in the tutorial.

new op wasn't added there.
make sure the directory exist.
Provide a better error message for pydot bug.
Make the test code as the tutorial code.
Merge pull request #1521 from nouiz/fix_tutorial_int32

Fix the tutorial to make it work with python 32 and 64 bit.