Added smarter path detection.

Page detection controls whether or not page logic runs. This now sports
a simply string format with wildcards instead of using a regular
expression.

Added a fill method to quickly fill a model with data.