- improve performance of by using precomputed :folder_id instead of
  etp__get_folder_id() in SQL query
- use ad_proc's argument parser instead of local implmentation in get_content_items
- use numeric comparison operator for truth value comparisons