add .gitignore
De-activate previous source when switching to Drupal comments #22

also fix some php warnings for undefined variables.
Merge pull request #23 from baisong/7.x-2.x

7.x 2.x