cleaned up rdfparser.js and rdfa.js to use safer evaluations (=== instea...

...d of ==) and lots of other things to increase consistency of code and ease with possible future debugging, semicolons, if statements, indentations, etc.

the tests are passing and the example/people/social_book.html is working, so i'm pretty confident i didn't break anything while cleaning up.