optimize shadow plugin

- Backport buffer surface from granite https://launchpad.net/granite
- Optimize blur of shadow