Moving important utility functions from data.cpp to handle.hpp
Cleaning up the sort functions

- sort(in, dim) consistent with other unary functions
- sort_index, sort_by_key perform copies only when necessary
CMakeLists.txt does not need to be executable.
Adding set functions for the CPU backend

- setunique, setunion, setintersect
- CUDA and OpenCL backends error out for now
Add setUnique()/setUnion()/setIntersection() for OpenCL
Merge pull request #42 from kylelutz/opencl-set

Set operations for OpenCL backend
Fixing the iterators for union and intersect in OpenCL backend
Adding set operations for CUDA backend
Reducing the memory footprint for set_intersect

- max(first_elements, second_elements) is enough for output
Style changes

- Removing unnecessary header files and adding new lines
Merge pull request #43 from arrayfire/set

Set operations for all backends
Add definition and directive to fix BOOST_INLINE not being defined on nvcc / CUDA < 6.5. Move FIND command for CUDA into backend/cuda/CMakeLists.txt
Restore default compile state.
Merge branch 'cuda_6_0_compile_fix'
Use ArrayFire's CUDA_VERSION instead of CMake-specific detection.
BUGFIX Fix sort on CPU
Added seq class for C++ API

* Renamed seq for C API to af_seq
* Renameed span for C API to af_span
* Added span and end for C++ API
* Fixed tests and src as needed
* Bugfix in af_assign for step != 1
Updating helloworld example
Merge pull request #44 from bkloppenborg/cuda_6_0_compile_fix

Cuda 6 0 compile fix
windows fixes for cuda backend

driver version code is commented temporarily due to undefined reference