properly fail on invalid @:to and @:from functions to avoid later unification issues (fixed issue #1500)

git-svn-id: http://haxe.googlecode.com/svn/trunk@6212 f16182fa-f095-11de-8f43-4547254af6c6
consider with_type for map comprehension if target is Map

git-svn-id: http://haxe.googlecode.com/svn/trunk@6213 f16182fa-f095-11de-8f43-4547254af6c6
more precise error message if -main does not start with uppercase character

git-svn-id: http://haxe.googlecode.com/svn/trunk@6214 f16182fa-f095-11de-8f43-4547254af6c6
Not_found is not such a nice error message

git-svn-id: http://haxe.googlecode.com/svn/trunk@6215 f16182fa-f095-11de-8f43-4547254af6c6