Create tikzlibraryqrr.misc.code.tex

This is a mix of many things and adds PGFmath functions, extends \foreach and introduces an equivalent to \degrees of PSTricks.