Use default flash element.
Throw exception if flash key value is not an array.

Return null if flash key doesn't exist in session.
Merge pull request #3971 from ADmad/3.0-flash

Use default flash element.