Split giant script into smaller scripts

For the sake of readability and maintainability.

Functions, code units were not modified, only moved out of `ggplotly.R` into new files.

Also, moving towards a future CRAN submission...

/cc @pedrodz @chriddyp