[MRG] angle_mic, dihedral_mic

Here is a PR where we can start working on angle and dihedrals which cross the boundaries between periodic boxes. cc #470, #460 
Because these three lines appear twice, would it make sense to abstract them out into an inline function?  The benefit would not be the code re-use so much as the ability to attach a name to the function for better documentation of SSE code...