* cbEditor: url detection: format regex to improve readability (no functional change), strip trailing periods and commas from detected url

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9931 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CC: Apply patch by Huki, which merges function handling and updates macro handling, see discussions in
http://forums.codeblocks.org/index.php/topic,19278.msg134227.html#msg134227.

The patch fixes handling the function pointer declaration pattern like: unsigned int (*AAA) (float BBB);
The normal function declaration and function pointer declaration are handled in the same way in the DoParse().
The patch also enable checking each lexeme like token for macro usage, thus many cctest cases like:
testing/cc_x_macro.cpp and testing/cc_function_ptr_com_interface.cpp get 100% passes. The only drawback
is that the parsing time becomes a little longer, but we can get more precise parsing results especially in codes
with many macro usages.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9932 2a5c6006-c6dd-42ca-98ab-0921f2732cef
* CC: disable the sanity check when expanding the macro usage, this try to work around an issue reported here: http://forums.codeblocks.org/index.php/topic,19661.msg134291.html#msg134291. We still have a expansion limit to avoid the infinite loop.

git-svn-id: http://svn.code.sf.net/p/codeblocks/code/trunk@9933 2a5c6006-c6dd-42ca-98ab-0921f2732cef
Reordered headers in src/app.cpp
Reordered headers in sdk/annoyingdialog.cpp
Minor changes that are mainly adding missing includes or reordering the includes; This includes adding sdk.h includes.
Redid two files in abbreviations plugin to use new include layout.