wraps save() only if primary_key==True
updated travis