Merge pull request #182 from avinashcpandey/develop

Fixed compilation issue for sort_by_key + Added fix in device_vector + b...
Squashed commit deom shruti-ramesh/new-changes

Merging Code for the iterator changes.
Pulling code from Shruti's new-changes branch.
Functions Completed By Shruti
transform,
transform_scan,
transform_reduce,
reduce
Count
Reduce
InnerProduct.

-Added new test cases for TransformIterator.cpp
-Added raw ptr interface for addressof, create_device_itr.
-New Iterator trait "memory_system" added for all the iterators. "iterator_traits.h, transform_iterator.h, constant_iterator.h, counting_iterator.h"
-Fixed a bug when iterator was dereferenced. Missing *
Fixed Linux Compilation errors, creeped in due to Iterator changes.
AMP documentation for iterators; cleaned device_vector