Moved examples into correct formatting and location.

Moved examples into a better format and location such that it should be
automatically parsed and shown by Godoc. Also, this should fix the
travis-ci build configuration.