Extract resource loading to xblock utils

Ok, still it's a "magic constant" :) It's the only usage so far, so it might or might not be a good idea to replace it with actual constant. Your call :)