Remove serialize

As ask in Issue https://github.com/GordonLesti/Lesti_Fpc/issues/60 here are my changes to remove serialize functions.

After installing this new changes make sure to flush the caches.

I'll also removed some duplicated code.

Thanks for merging!