Implement delegate.ptr and delegate.funcptr as new ast classes instead of using casting and pointer arithmetic
fix Issue 6889 - "finally" mentioned in a compilation error, instead of "scope(exit)" or "scope(success)"
fix Issue 2456 - "cannot put catch statement inside finally block", missing line number
Remove workaround for issue 11939
Merge pull request #3181 from yebblies/dgfuncptr

Implement delegate.ptr and delegate.funcptr as new ast classes instead of using casting and pointer arithmetic
[style] fix indent in template.c
[Refactoring] Remove comment-out code for the fixed issue 7469
[Refactoring] Remove unnecessary workaround for issue 1528
Merge pull request #3577 from 9rnsr/refactor_unused

[Refactoring] Remove some unnecessary code
Document oddities around Target::va_listType
Merge pull request #3579 from ibuclaw/targetdoc

Document oddities around Target::va_listType
Merge pull request #3564 from 9rnsr/fix_onscope

Issue  6889 & 2456 - Fix diagnostic messages for OnScomeStatement
minor error message improvements
Merge pull request #3580 from WalterBright/err-msgs

minor error message improvements
Fix issue 313 & 314

Points:

1. Most of import declarations will insert their fully qualified names in local symbol table.

Currently, it is stored only in one place - `Module::modules`. After this change, in addition to that,
each `ScopeDsymbol::symtab` will have the "local package tree" which represents the scope local imports.

For example:

```d
class C {
    import core.stdc.stdio;
    import core.stdc.stdlib : malloc;
    import core.stdc.stdlib : free;
    void func() {
        import core.stdc.string;
    }
}
```

`symtab` of class `C` and `C.func` will have following package object trees:

```
// in C
Package('core') <----------+
 + Package('stdc') <-------|--+
    + Import('stdio')      |  |
    + Import('stdlib')     |  |
        names = ["malloc"] |  |
  +---- overnext           |  |
  |                        |  |
  +-> Import('stdlib')     |  |
        names = ["free"]   |  |
                           |  |
// in C.func()             |  |
Package('core') aliassym --+  |
 + Package('stdc') aliassym -+
    + Import('string')
```

In there, `Import` object will be the leaf of the tree.
It's done by `Import::addPackage`.

2. A part of local package tree will be merged into other tree.

This example case of public import should work.

```d
module a;
public import std.stdio;
```
```d
module b;
import a;
import std.algorithm;
std.stdio.writeln();    // point
```

In module b, 'std.stdio' should be visible. To realize it, import declarations will pull
the fully qualified name of public imports in the imported module.
Finally, module b will have the package tree:

```d
Package('std')
 + Package('algorithm')
 + Package('stdio')   <--- Pulled from module a, by `import a;`
```

Same work is necessary on class inheritance. Public/protected imports in base class scope
should be pulled in the derived class scope.
Add test/compilable/testimport1.d
Add test/compilable/testimport2.d
Add test/compilable/testimport3.d
Add test/compilable/testimport4.d
fix Issue 313 - [module] Fully qualified names bypass private imports