ENH: Silence py34, add run_tests_if_main, and simplify testing

@almarklein can you try this branch and see if the warnings are gone on your end? Works for me on Windows. WIP because I'm not particularly happy with this solution, but we might need to use it.

closes #555