finalized code

completed functions, removed javascript call, added
isset($_POST['posted'] conditionals to build index page.

changed logic inside Poll::validateUserIP() function to encompass users
who may be first to log IP into DB

added noscript tag for added functionality and to keep the user from
submitting the form without voting.