make view behaviour compatible with
(result, src, options) call structure
Merge pull request #51 from torch/branch_view

make view behaviour compatible with
Merge branch 'master' into build-fixes