Ensure all examples are runnable

And fix any problems I noticed
Remove unneeded doc details
Use useDynLib
Set up MySQL on travis