updated .gitignore

to ignore .mex* files and the end-user specific juliaconfig.mat
Add missing sizeof function.

Thanks to Rene Donner <rene.donner@meduniwien.ac.at> for pointing this out.
fix libary loading woes on OSX: force system call to use bash in login mode
Separate variable declarations from assignment

This may fix issue 3
One more variable declaration to preamble.
Merge branch 'master' of https://github.com/timholy/julia-matlab