Declan McManus has signed a new contract with Aberdeen, tying him to Pittodrie until the summer of 2015.