Allow having prefix specific layouts.

Refs #3907
Does the missing layout error page list the correct paths for an admin layout?