Shape contexts

refactor of code from [PR#235](https://github.com/scikit-image/scikit-image/pull/235) to make it more efficient and documentation

The travis-ci build gives an error currently, I've tested the code locally where everything runs fine. Can any one help me figure out why the error's are coming up in the travis build.