added method and tests
Merge branch 'permutations' of git://github.com/michaeleisel/ExSwift into michaeleisel-permutations

Conflicts:
	ExSwift/Array.swift
Merge branch 'michaeleisel-permutations'