Im upgrading from an S5 to an S7 & could do with a little help.

Is there a way to check using the emei of a Samsung phone the build date/ history ect?
I also need the phone unlocked, is Ebay is the best place for this ?
Also, which app to backup all Contacts, SMS, photo's, apps ect.. for easy install to new phone ?
Any help would be appreciated.