Fix indexer issues in Kepler. Add a label to the arduino toolbar.

Arduino Toolbar label is an esthetic change, previously it appeared as "main" in "Customize perspective", now it shows "Arduino".

All methods are copied from the CDT 8.1.2 release and it were removed from CDT 8.2 for some reason, so this is a temporary fix.
A better solution should be found, and it should use public API only.