org-html.el and org-e-html.el: Add CSS classes to list tags.

* org-html.el (org-html-export-list-line): Add CSS classes to
these list HTML tags: <ul> <dl> and <ol>.

* contrib/lisp/org-e-html.el (org-e-html-begin-plain-list): Add
CSS classes to these list HTML tags: <ul> <dl> and <ol>.
org-agenda.el: Use `org-todo-keyword-faces' to highlight selected TODO keywords.

* org-agenda.el
(org-agenda-propertize-selected-todo-keywords): New function
to highlight the current agenda todo keywords depending on
`org-todo-keyword-faces'.
(org-todo-list): Use the new function.

TINYCHANGE
Small refactoring

* lisp/org.el (org-fill-paragraph): Small refactoring.
Merge branch 'maint'
org-element: Fix parsing of links expanded from an abbreviation

* lisp/org-element.el (org-element-object-variables): New variable.
(org-element-parse-secondary-string): Copy some buffer-local variables
to the temporary buffer created to parse the string so links can still
be properly expanded.
(org-element-link-parser): Link expansion and translation are applied
transparently for the parser.
org-element: Add tests

* testing/lisp/test-org-element.el: Add tests.
org-export: Remove NOEXPAND optional argument from `org-export-as'

* contrib/lisp/org-export.el (org-export-options-alist): Fix
  docstring.
(org-export-as): Remove NOEXPAND argument.
(org-export-to-buffer, org-export-to-file): Apply argument removal.

This argument is not needed since a function removing macros, babel
code and include keywords can be added to
`org-export-before-processing-hook'.
org-agenda.el (org-agenda-skip): Only check if point is	inside a code block, not at a code block.

* org-agenda.el (org-agenda-skip): Only check if point is
inside a code block, not at a code block.

Thanks to Eric Fraga for reporting this problem.
Merge branch 'maint'
Merge branch 'master' of orgmode.org:org-mode
Merge branch 'maint' of orgmode.org:org-mode into maint
Backwards compatibility: check for possibly undefined variables in org-find-invisible-foreground

* lisp/org.el (org-find-invisible-foreground): Do not use the value of
  variables `default-frame-alist´, `initial-frame-alist´ and
  `window-system-default-frame-alist´ when their symbol is not bound.

This avoids an error with Emacs 22, which does not define
`window-system-default-frame-alist´, that prevents the test suite from
even starting, the other variables are treated the same as a defensive
measure.
Merge branch 'maint'
Backwards compatibility: use compatibility macro

* lisp/org-agenda.el (org-agenda-write): Use
  org-called-interactively-p instead of called-interactively-p.
Backwards compatibility for `user-error´

* lisp/org-compat.el (user-error): Defalias to `error´ for Emacsen
  that don't have it.
Merge branch 'maint'
org-compat.el: Fix bug: don't use `eval-when-compile' when aliasing `user-error'.

* org-compat.el: Fix bug: don't use `eval-when-compile' when
aliasing `user-error'.

Thanks to Bernt Hansen for reporting this bug.
Merge branch 'maint'
org-export: Implement function to locally override translation table

* contrib/lisp/org-export.el (org-export-data-with-translations,
  org-export-data-with-backend): New functions.
* testing/lisp/test-org-export.el: Add tests.
ob-core: Fix the #+END_ directive from the :wrap param

* lisp/ob.el: Only use the :wrap argument up to the first space when creating
  the #+END_ directive.

Using an option like ":wrap SRC fundamental" was generating and end marker of
"#+END_SRC fundamental", which caused the new exporter to fail to handle to
block properly.

Patch from Michael Gauland.