base/pos: Mark swap() noexcept
jhm/naming: Use std::algorithms more for ends_with per mpark's suggestion