Added String parameter to index method. Added check in addDataToModel for null pages. Added getModel method. Refactored to pass name value to PagesController methods. Added retrieveNullPagesAddsErrorMessageToModel method. Added retrievePagesAddsNoErrorMessageToModel method. Added addsPagesToModel

Signed-off-by: bhill2 <bjsrhill@gmail.com>