Refactored declaration completion

Refactored completion around accessors (public/private/inline/...) and declarations (var/function/class).
This seems like a misleading name.. Isn't `IsTypeDecl()` more accurate, seeing how it checks `typesKeywords`, which has far more than just `class` in it?