Merge pull request #1 from asutton/algorithms-reboot

Algorithms reboot
tweaks for for_each and invokable, for_each tests
cherry-pick [ecf1243] from master
adjacent_find algorithm and tests, ASL-inspired projection functions
line endings
lower_bound, lower_bound_n, and count algorithms
simple test harness
Fix GCC build issues.