Text this: A Generalization of Mahadevan's Version of the Krein-Rutman Theorem and Applications to p-Laplacian Boundary Value Problems