* show message for last attempt, not for one-before-last one; 
* update test to check the message :invalid, :last_attempt, :locked
Merge pull request #2697 from Lightpower/feature/last_attempt_message

Show last attempt message for last attempt, not for one-before-last one