Fix for copy function in cpu backend

destination array of copy was using wrong strides
indexing unit tests for 3d and 4d arrays
Merge pull request #124 from 9prady9/index_tests

Bug fixes and additional unit tests for af_index

- Bug fixed for indexing in CPU backend
- Tests added for 3D and 4D indexing.