From Seizure Detection to Smart and Fully Embedded Seizure Prediction Engine: A Review