Modify history core data

1. Set max number in history as 10
2. Delete duplicate history in core data, and save new one
3. Add delete the oldest logic in core data history when the number in
database larger than 10.
Merge branch 'poetryapps_development' of https://github.com/fdxyang/-PoetryLyricsApps into poetryapps_development