Implement boundary option for load magic (#1093) 

This is an implementation of #1093. Usage example is in this notebook

http://nbviewer.ipython.org/6746907