Multiple changes

- Added base::rfind_pos.
- Added base::slice_before_last.
- Added base::application::cwd.
- Added base::application::exepath.
- Minor updates in error messages.