Refactor and cleanup stripe-function and stripe-display

* Code standards
* Fix some translation issues (variables in translation string)
* Properly escape and sanitise
Flush rewrite rules on activation