Julia 0.3 compatibility

merged latest master (watch windows) and there has been a change in range methods.