Add variable and alias templates

**Note:** Don't merge until https://github.com/D-Programming-Language/dmd/pull/2467 is accepted.

Allow optional template parameters for variable declarations and alias declarations.