Fix build: add missing #include <algorithm>

I couldn't build without this include line. Added it to fix build.
Merge branch 'master' of github.com:BitShares/bitshares_toolkit