Fixed pareview observations.

* Divided hook_form_alter() to many hook_form_FORM_ID alter().
* Changed some queries to db_query() and db_delete().