expose 'ext' in user-level image loader method calls, minor cleanup
move spark context parameter to image loader init from method calls
move dims param to ImageLoader fromStack from init, remove unused valuetype
support optional 'ext' keyword arg in ImageLoader