Fixing periodic BCs for BVPs in chebgui. Closes #1136.

Also introduced a periodic BVP demo.
Merge pull request #1138 from chebfun/fix-periodic-GUI-problems

Fixing periodic BCs for BVPs in chebgui. Closes #1136.