fix self call bug in var :test metadata support

`cljs.analyzer/analyze-symbol` takes an environment stripped of
`:locals`. In `'def` case of `cljs.analyzer/parse` put the locals back
on the environment as `:test-locals` so that we can use them if
need be in `cljs.analyzer/analyze-symbol`.

Add test case for multi-arity var `:test` metadata with self call.