db_query() replace to db_select().
Fix error if node create programmatically.
Merge pull request #26 from DrupalCodeReview/notices_node

Notices node