[rafiki]Added check to fix the null error.

Added check to fix the null error when clicking on an empty spot on the list.
Merge pull request #281 from masterbb/patch-4

[rafiki]Added check to fix the null error.
[Plugin] Option to export lape-style wrappers

Added the option to use lape-style export wrapper-functions to plugins.
By avoiding using the FFI, functions ...
- avoids leaking the result, if the result is an array.
- has around 5 times less call overhead

To export lape-style wrapper functions an ekstra kw have to be added at
the end of each function-string: `external;`.

EG:
>> procedure SomeFunc(const Params: PParamArray; const Result: Pointer);
cdecl; export;
...
>> ProcAddr := @SomeFunc;
>> StrPCopy(ProcDef, 'function SomeFunc(Size:Int32): TIntegerArray;
external;');
That is how we know that we should not use the FFI.
Revert "[Plugin] Option to export lape-style wrappers"

This reverts commit 2e6e7e01b6769aa0b75bfcbf2dbc6124d7f8de89.
[Plugin] Option to export lape-style wrappers

Added the option to use lape-style export wrapper-functions to plugins.
By avoiding using the FFI, functions ...
- avoids leaking the result, if the result is an array.
- has around 5 times less call overhead

To export lape-style wrapper functions an ekstra kw have to be added at
the end of each function-string: `external;`.

EG:
>> procedure SomeFunc(const Params: PParamArray; const Result: Pointer);
cdecl; export;
...
>> ProcAddr := @SomeFunc;
>> StrPCopy(ProcDef, 'function SomeFunc(Size:Int32): TIntegerArray;
external;');
That is how we know that we should not use the FFI.
[plugins] Changing external to native.

I also made the code a little prettier.. Both simpler to read, and
shorter.
Merge pull request #282 from WarPie/master

Option to export methods using lape-style wrappers from plugins.
Add Lape section to the function list.
Export IsStrInArr..
Codehint improvements

Fix and improve adding a Lape section to functionlist
CC Now works with keyword Self.
Attempting to show codehints with "Writeln" would crash, now it exits.
Fix for procedures with no params access violating.
Some things to avoid crashing.
Fix for out of range error in cc. (Maybe that backspace bug?).
Only show cc form if we have items to show
Add basic parent types to cc, and update Lape sub module.
Stable method to add Lape methods to function list (do it when CC core is made).
Added more exports to Lape

Add "UsePos" Param to isStrInArr
Export TMMLTimer to Lape.
Add DrawTextBitmap & DrawSystemTextBitmap.
Fix up CC Parser (slacky)
Remove temporary debug
Lape function list section now displays everything Lape has to offer.
Codehints will now show the correct params if they have similar names.
CC: Now displays function results.
Update v_ideCodeInsight.pas
Fixed some Lape exports and added more

Fix TFontStyles
Form related additions.
TShape.... And we're done.
Fix some bugs with showing types in the function-list :)
MORE form stuff.
TBitmap additions.
Added a Main thread check for some of the FPC dialog wrappers
More efficient TMufasaBitmap.ThresholdBitmap
Remove matrix image functions, export ColorToGray.
Re-add threshold for PS.
Bump Simba version to 1100 (1.1.0)