FEAT: Adding identity function for all backends
FEAT: Adding diag for all backends
Merge pull request #246 from pavanky/new_funcs

New functions to ArrayFire
Merge pull request #248 from shehzan10/devel

BUGFIX Fixed memory leak in image io, perf improvements
Added dim checks for binary element wise ops