Fix expiry specification for Pastebin.com.

The site accepts only a fixed set of specifications.

Task-number: QTCREATORBUG-9270
Change-Id: I777b8bdff972a64d6e268adeb29f266c754cbad7
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
C++: added missing cloning of AnonymousNameId

When instantiate a template with anonymous class/struct/union
AnonymousNameId has to be cloned.

Task-number: QTCREATORBUG-9227

Change-Id: Iedca5e41589e68a94a35cd4387241052c70c50df
Reviewed-by: Sergey Shambir <sergey.shambir.auto@gmail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
CppEditor: InsertDefFromDecl: choose insert position

Now one can decide where the new definition should go: Inside the class,
outside the class or to the implementation file. Further the text cursor
is positioned inside the new created definition body.

Task-number: QTCREATORBUG-6973
Change-Id: I593955dd1e44e35240fa1e9b9a5c1a67eb119456
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Git: Add copyright header

Change-Id: Ie84922a3f8f521812627f77ac729c8626f87d469
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>