Add wrapper around scipy.signal.get_window to handle pre-computed window arrays
This PR adds a new gwpy.signal.window.get_window()
function which wraps scipy.signal.get_window
but also accepts pre-computed window arrays, with some validation.
This helps to simplify some repeated logic for handling different windows and allows pre-computed windows to be used in all SP functions.
Closes #1546 (closed).