Introducing inclusive/exclusive scan algorithms

These are required in order to implement reduce_by_key (see #83).
The algorithms are borrowed from HSA-Libraries/Bolt (it is distributed
under Apache license which is compatible with the MIT license used in
VexCL).