Added Test for sortet-int-stack and nn-dict-dynamic
Name convention of template paramter
and replaced expection with static_assert
Fixed compile warning
Merge pull request #152 from xosh/more_tests

More tests and C++11fication of nearest_neighbour_dictionary.