Consistent function attribute placement

also removed 2 duplicate consts that are now errors in dmd git HEAD
Merge pull request #43 from John-Colvin/patch-2

Consistent function attribute placement