Use file-level scope for untyped constant checking.

Fixes #61.
Sort problems.

Signed-off-by: David Symonds <dsymonds@golang.org>