Merge pull request #357 from okomarov/master

[Fix] fixes #342: creating patches with literal color errors
Patch plots should be cycled

Some plots suffer from not having a `--cycle` at the end, causing
the first and last point not to be connected, e.g. #317.
In the code it was suggested that some do not need this, but for
none of our test cases, this change produces errors.

Some data sets, however, do contain the same first and last point.
In those cases, adding a cycle is superfluous, but doesn't hurt :-)
Merge branch 'Issue317'
Merge branch 'master' of git://github.com/okomarov/matlab2tikz into okomarov-master
Merge branch 'okomarov-master'
Merge pull request #1 from nschloe/master

Mergin from mother repo