Fix for Postgres driver: Missing column info causes fatal error

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33464&start=0
Fix for unit tests
Fix
Adapted unit test as well.
Merge pull request #3293 from vdespa/patch-6

[#33464] Fix for Postgres driver: Missing column info causes fatal error
[#32825] Front End: Scheduled Articles are showing up on
Contacts/Articles page
  [#33672] *Scheduled items showing by tags when should not
This fixes taking in account the published state
Merge pull request #10 from beat/patch-2

This fixes taking in account the published state
Check publish_up and publish_down with published
Merge pull request #11 from beat/patch-3

Check publish_up and publish_down with published
Merge pull request #3531 from infograf768/scheduled_tags

  [#33672] *Scheduled items showing by tags menu item when should not
Merge pull request #3530 from infograf768/schedule_articles

[#32825] Front End: Scheduled Articles are showing up on Contacts/Articles page
Fix codestyle error