Add optional sub-path argument to *_path helper functions

This change provides a slightly cleaner-looking way of using the *_path functions with subdirectories.

Mostly useful for is_file()-type calls - i.e. is_file(app_path('customdir/file.txt'))