Revert "try to improve the STDIN as IOStream workaround"

This reverts commit 4e8cabc337b4164b176534a85ffcfcd6578f947f.
Revert "make STDIN an IOStream on linux when the input stream is a file"

This reverts commit 64451781dcba91dc7a5b4884afdd5eb4153d9e41.
Merge branch 'master' of github.com:JuliaLang/julia
add cleaner init and entry point for clients of libjulia
some fixes to new entry points
dllexport a few more things
fix resolution of throw_with_superfluous_argument
add jl_typeof_str
add some more libjulia APIs for array info
Merge branch 'master' of github.com:JuliaLang/julia into jb/juliaipy
start jlapi.c, for misc libjulia entry points