Adds simple Python script which checks the header of index.html for some common mistakes.
Checks whether file is actually a proper index.html.
Implements comments of @r-gaia-cs. Adds check for template header. Breaks up some more long lines.
Reorders function to follow index.html. Adds checks for all categories.
Here's the correct index.html
Uses pyyaml for header parsing. Moves script to bin/
Add unit tests to index.html validator

- Add unit test to all check functions
- Add unit test to file handler

Changes in swc_index_validator.py

- Remove some calls to `strip()`

  They aren't necessary any more because we use PyYAML.
- Changes in `check_contry()`

  Use only one conditional
- Change in `check_intructor()`

  Check if the list isn't empty.

TODO:

- Fix the unit test that fail.
Merge pull request #1 from r-gaia-cs/validator

Add unit tests
Fixes two broken tests. Fixes a problem in tests with Python2/Python3 compability.
Slightly faster, more Pythonic way to check whether humanyear is a number
Replaces old-school string formatting by new-school
Adds description of swc_index_validator.py to README
Implements most of @gvwilson's comments. humantime-test currently fails until rule is defined.
Adds @r-gaia-cs' regex for humantime
Fixes regex, adds more tests for humantime
Implements @r-gaia-cs's suggestions about nicer handlers and messages
Merge pull request #341 from drsnuggles/master

Script to test index.html for validity