CppTools: Add tests for nested enums

Discarded during merge from 3.0

Task-number: QTCREATORBUG-5456
Change-Id: I0bb4756e3cdf3c87a4c2b0fbfe6953faaa5e1c52
Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
CppEditor: Enable "Hide reimplemented functions"...

... for functions implemented in the target class

Change-Id: I284b9965d4def13ff45190473303627f4ac0d0dc
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
CppEditor: Do not re-add reimplemented virtual functions

Change-Id: Ib4308ab9483c212a045d120b61d9bc7262f1e538
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
CppEditor: Move InsertVirtualMethods to its own file

It contains many components, doesn't make sense to have it with all
other quickfixes.

Change-Id: Idede14c90ba9b612ae9e9048f5795d674811acfe
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>