Document the new functions.

Signed-off-by: Norv <a.w.norv@gmail.com>
Fix issue with css and non-php files being submitted to PHP validation.

Signed-off-by: Norv <a.w.norv@gmail.com>
Add a few more comments.

Signed-off-by: Norv <a.w.norv@gmail.com>