Fixed issue with properties not being evaluated in the correct order.

Made it so the order of fields/properties stays intact during
inheritance in case of merges or selecting the last entry from a list.

Fixed issues with redirects when a context path was set.

Amended JavaDoc for some methods.